#include <iostream.h> // Zadanie 3.1
#include <conio.h>

main()
{
int x, y;

cout << "Program oblicza wartosc funkcji y = 3x dla x zmieniajacego sie od 0 do 10." << endl;

for (x = 0; x <= 10; x++)
{
 y = 3*x;
 cout << "x = " << x << '\t' << "y = " << y << endl;
}

getch(); // czeka na nacisniecie dowolnego klawisza
}
